package com.garygyp.eduservice.client;

import com.garygyp.commonutils.R;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author GaryGyp
 * @date 2022/5/15 22:38
 * @description
 */
@Component
public class VodFileDegradeFeignClient implements VodClient {
    // 出错之后下列方法才会执行
    @Override
    public R removeAlyVideo(String id) {
        return R.error().message("删除视频出错了。。。");
    }

    @Override
    public R deleteBatch(List<String> videoIdList) {
        return R.error().message("删除多个视频出错了。。。");
    }
}
